<!doctype html>
<html ng-app  ng-controller="PhoneListCtrl">
<head>
	<script src="/static/js/angular/angular-1.0.7.min.js"></script>
	<script src="/static/js/angular/controllers.js"></script>
	<title>Cateogry Gallery: {{query}}</title>
</head>
<body >
Search: <input ng-model="query">
Sort by:
<select ng-model="orderProp">
  <option value="Fid">Fid</option>
  <option value="Id">Id</option>
</select>
<div>
 <ul class="phones">
        <li ng-repeat="category in categorys | filter:query | orderBy:orderProp">
          ID:{{category.Id}}<br>
          FID:{{category.Fid}}<br>
          NAME:{{category.Name}}<br>
          LEVEL:{{category.Level}}
        </li>
 </ul>
 </div>
</body>
</html>